package com.jieao.template.entity.roleMgr;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author 痴
 * @className AssignmentPermissionDTO
 * @since 2020-05-25 20:05
 */
@Data
@ApiModel(value = "用户权限", description = "用于添加用户权限")
public class AssignmentPermissionDTO implements Serializable {

	private static final long serialVersionUID = 8910916342083233707L;

	@ApiModelProperty(value = "被选中的权限id", required = true)
	private List<Long> checkList;

	@ApiModelProperty(value = "被半选的权限id", required = true)
	private List<Long> halfList;

	@ApiModelProperty(value = "所属用户id", required = true)
	private Long id;

}